docs: Add metadata preamble to GTK's content files
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 10 Feb 2021 14:03:56 +0000 (14:03 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:30 +0000 (16:37 +0000)
22 files changed:
docs/reference/gtk/actions.md
docs/reference/gtk/broadway.md
docs/reference/gtk/building.md
docs/reference/gtk/compiling.md
docs/reference/gtk/css-overview.md
docs/reference/gtk/css-properties.md
docs/reference/gtk/drawing-model.md
docs/reference/gtk/getting_started.md
docs/reference/gtk/input-handling.md
docs/reference/gtk/migrating-2to4.md
docs/reference/gtk/migrating-3to4.md
docs/reference/gtk/osx.md
docs/reference/gtk/question_index.md
docs/reference/gtk/resources.md
docs/reference/gtk/running.md
docs/reference/gtk/section-accessibility.md
docs/reference/gtk/section-list-widget.md
docs/reference/gtk/section-text-widget.md
docs/reference/gtk/section-tree-widget.md
docs/reference/gtk/wayland.md
docs/reference/gtk/windows.md
docs/reference/gtk/x11.md

index 61433ccc19460eb1c09d5649ada1ad24bbef7e07..51af4fbf3fb7c3b0feca5106e69c6cdb76ec092a 100644 (file)
@@ -1,4 +1,5 @@
-# Overview of actions in GTK {#actions-overview}
+Title: Overview of actions in GTK
+Slug: actions
 
 This chapter describes in detail how GTK uses actions to connect
 activatable UI elements to callbacks. GTK inherits the underlying
index 53d6d3d33454ae6a9eb65604ec93dacce6259022..8bf24c43c1d593f037b7ab8ee67bc5f098c614f7 100644 (file)
@@ -1,4 +1,7 @@
-# Using GTK with Broadway {#gtk-broadway}
+Title: The Broadway windowing system
+Slug: broadway
+
+## Using GTK with Broadway
 
 The GDK Broadway backend provides support for displaying GTK
 applications in a web browser, using HTML5 and web sockets. To run
@@ -26,9 +29,9 @@ Start your applications like this:
 GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
 ```
 
-## Broadway-specific environment variables {#broadway-envar}
+## Broadway-specific environment variables
 
-### BROADWAY_DISPLAY
+### BROADWAY\_DISPLAY
 
 Specifies the Broadway display number. The default display is 0.
 The display number determines the port to use when connecting
index 51c8802168653b517513eced3b65f7c7b8745b8d..5e5a1d14bd8376cdc02937a7bb9044072a9210cc 100644 (file)
@@ -1,4 +1,5 @@
-# Compiling the GTK Libraries {#gtk-building}
+Title: Compiling the GTK Libraries
+Slug: gtk-building
 
 ## Building GTK
 
index 1cceedded1761e69799e8d834edf1390aeb71fd4..f73207d446fcc025ae85acbfe8764ea57e3aa245 100644 (file)
@@ -1,4 +1,5 @@
-# Compiling GTK Applications on UNIX {#gtk-compiling}
+Title: Compiling GTK Applications on UNIX
+Slug: gtk-compiling
 
 To compile a GTK application, you need to tell the compiler where to
 find the GTK header files and libraries. This is done with the
index 0070c7e4f3b1e769280d124c44db7d8c44635092..a9518dd428c5273ff15938ce5d1dd7bc99d8a9af 100644 (file)
@@ -1,4 +1,5 @@
-# CSS in GTK {#css}
+Title: CSS in GTK
+Slug: css
 
 This chapter describes how GTK uses CSS for styling and layout. 
 It is not meant to be an explanation of CSS from first principles,
index 8fa9819fc7e56ba4320ebeedd5a3ff64a2d74b9b..c08bfbf696c62829c1421c62919ff50d7de0ba41 100644 (file)
@@ -1,4 +1,5 @@
-# GTK CSS Properties
+Title: GTK CSS Properties
+Slug: css-properties
 
 GTK supports CSS properties and shorthands as far as they can be applied
 in the context of widgets, and adds its own properties only when needed.
index fb3ad74690f1342bd5d505852c100a7f11661230..67558947576e65affbfa100614674c6a468d7a00 100644 (file)
@@ -1,4 +1,5 @@
-# Overview of the drawing model {#drawing-overview}
+Title: Overview of the drawing model
+Slug: drawing-overview
 
 This chapter describes the GTK drawing model in detail.  If you
 are interested in the procedure which GTK follows to draw its
index 3196bef7024bfcd0d84cb57965e4bab62430cebf..b10dd1e57267630500a07fbe9d3d00e674098d1f 100644 (file)
@@ -1,4 +1,5 @@
-# Getting Started with GTK {#gtk-getting-started}
+Title: Getting Started with GTK
+Slug: gtk-getting-started
 
 GTK is a [widget toolkit](http://en.wikipedia.org/wiki/Widget_toolkit).
 Each user interface created by GTK consists of widgets. This is implemented
index 4685d51aa52cf93f583102a27b1514d5e805ef81..6186e7dbcb19607fc29f40699a278ac528685464 100644 (file)
@@ -1,4 +1,5 @@
-# Overview of GTK input and event handling {#input-overview}
+Title: Overview of GTK input and event handling
+Slug: input-overview
 
 This chapter describes in detail how GTK handles input. If you are interested
 in what happens to translate a key press or mouse motion of the users into a
index dbfd941e23f76dffe428f43311122dc2e18753ff..da683e54e807f47792764abffa64188fc49309d2 100644 (file)
@@ -1,4 +1,5 @@
-# Migrating from GTK 2.x to GTK 4 {#gtk-migrating-2-to-4}
+Title: Migrating from GTK 2.x to GTK 4
+Slug: gtk-migrating-2-to-4
 
 If your application is still using GTK 2, you should first convert it to GTK 3,
 by following the [migration guide](https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html)
index c1670e4e2f7b22f086642a6c5750bcf3ad4a2be9..c40817967a947b5ceaf4ab5541fce3c4a7540ecf 100644 (file)
@@ -1,4 +1,5 @@
-# Migrating from GTK 3.x to GTK 4 {#gtk-migrating-3-to-4}
+Title: Migrating from GTK 3.x to GTK 4
+Slug: gtk-migrating-3-to-4
 
 GTK 4 is a major new version of GTK that breaks both API and ABI
 compared to GTK 3.x. Thankfully, most of the changes are not hard
index 2ee5c02bb1cb0e84310f42f53de7b58e2da788bf..869c413f869f2918f706335469be05a9363e0953 100644 (file)
@@ -1,4 +1,5 @@
-# Using GTK on Apple macOS {#gtk-osx}
+Title: Using GTK on Apple macOS
+Slug: gtk-osx
 
 The Apple macOS port of GTK is an implementation of GDK (and therefore GTK)
 on top of the Quartz API.
index 98e69881e6e4da60223e6f7a8da8ac0103e107b5..505b20418d023ab728406769e10db47ef426df22 100644 (file)
@@ -1,4 +1,5 @@
-# Common Questions {#gtk-question-index}
+Title: Common Questions
+Slug: gtk-question-index
 
 This is an "index" of the reference manual organized by common "How do
 I..." questions. If you aren't sure which documentation to read for
index c0683e8f76432e7e5960e9b85ac19a4cfad3d7ed..93a295059c946b90c08362c095a4118158dd03e5 100644 (file)
@@ -1,4 +1,5 @@
-# Contact information and bug reports {#gtk-resources}
+Title: Contact information and bug reports
+Slug: gtk-resources
 
 ## Opening a bug or feature request
 
index d294f8fc82a0a3511b24ef3c2bcf7f3242e39e57..80e10e071cbb95acdfb4606c5a9b069b36a98651 100644 (file)
@@ -1,4 +1,5 @@
-# Running and debugging GTK Applications {#gtk-running}
+Title: Running and debugging GTK Applications
+Slug: gtk-running
 
 ## Environment variables
 
index b8145e0ad358aa242444b7967720c0b68dc1f1d9..e785e8a935dcfb28ed7b090325773f8a226eb8ec 100644 (file)
@@ -1,4 +1,5 @@
-# GTK Accessibility {#gtk-accessibility}
+Title: GTK Accessibility
+Slug: gtk-accessibility
 
 ## The standard accessibility interface
 
index b93ab872e3fc470650b07155a6ead3bb10182bf4..0c24ff7c15444ea6c5be28a1fc2d4591daa6c94d 100644 (file)
@@ -1,4 +1,5 @@
-# List Widget Overview {#ListWidget}
+Title: List Widget Overview
+Slug: gtk-list-widget
 
 GTK provides powerful widgets to display and edit lists of data. This document
 gives an overview over the concepts and how they work together to allow
index 4184b888788f4810ccabad1b2f375756b41e5b62..7eccd80680458c8e57016400da00077469a02c49 100644 (file)
@@ -1,4 +1,5 @@
-# Text Widget Overview {#TextWidget}
+Title: Text Widget Overview
+Slug: gtk-textview
 
 GTK has an extremely powerful framework for multiline text editing.  The
 primary objects involved in the process are #GtkTextBuffer, which represents the 
index f30680be41cd3e6e7dcfa0a4952e03da1956b3cb..8db94e7d1348277f8f392d2474d9f6d62f92752a 100644 (file)
@@ -1,4 +1,5 @@
-# Tree and List Widget Overview {#TreeWidget}
+Title: Tree and List Widget Overview
+Slug: gtk-treeview
 
 To create a tree or list in GTK, use the #GtkTreeModel interface in
 conjunction with the #GtkTreeView widget.  This widget is designed around
index 0c99fc495291d03484f2c0fa8970125e12c92840..f97bd10558da39d9d035a028578078eb5be755a3 100644 (file)
@@ -1,4 +1,5 @@
-# Using GTK with Wayland {#gtk-wayland}
+Title: Using GTK with Wayland
+Slug: gtk-wayland
 
 The GDK Wayland backend provides support for running GTK applications
 under a Wayland compositor. To run your application in this way, select
index a5c14205e99e5b02e8496da399038c2570e40434..3541334d85ed93a975baea9f1ce0ca5d77791609 100644 (file)
@@ -1,4 +1,5 @@
-# Using GTK on Windows {#gtk-windows}
+Title: Using GTK on Windows
+Slug: gtk-windows
 
 The Windows port of GTK is an implementation of GDK (and therefore GTK)
 on top of the Win32 API. When compiling GTK on Windows, this backend is
index be2b74dc8e9a68e336b89698bb1977c3c0c298f7..063e5e2ea0d1557be599c6084ea0a6401d92c634 100644 (file)
@@ -1,4 +1,5 @@
-# GTK for the X Window System {#gtk-x11}
+Title: GTK for the X Window System
+Slug: gtk-x11
 
 On UNIX, the X backend is enabled by default, so you don't need to do anything
 special when compiling it, and everything should "just work."